package cn.zhyjohn.paysystem.requset;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @description: 微信退款
 * @author: JOHN
 * @date: 2019-08-23 15:02
 **/
@Data
@ApiModel("微信退款参数")
public class WxRefundParams implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiParam(value = "微信订单号")
    @NotBlank(message = "微信订单号不能为空")
    private String transactionId;

    @ApiParam(value = "商户订单号")
    @NotBlank(message = "商户订单号不能为空")
    private String out_trade_no;

    @ApiParam(value = "订单总金额")
    @NotBlank(message = "订单总金额不能为空")
    private String total_fee;

    @ApiParam(value = "退款金额")
    @NotBlank(message = "退款金额不能为空")
    private String refund_fee;

}
